package com.bh.extend.mapper;

import com.bh.common.basemapper.RootMapper;
import com.bh.extend.domain.JcAbnormal;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 异常Mapper接口
 *
 * @author slx
 * @date 2023-04-24
 */
@Mapper
public interface JcAbnormalMapper extends RootMapper<JcAbnormal> {

    /**
     * 查询异常列表
     *
     * @param jcAbnormal 异常
     * @return 异常集合
     */
    public List<JcAbnormal> selectJcAbnormalList(JcAbnormal jcAbnormal);

    /**
     * 查询异常列表
     * @param orderId
     * @return
     */
    public List<JcAbnormal> selectJcAbnormalListByOrderId(Long orderId);



    public JcAbnormal selectJcAbnormalById(Long id);


}
